package com.zhihuiyanche.service.shops;

import com.zhihuiyanche.domain.Shops;

import java.util.List;


public interface ShopsService {


	/**
	 * 添加
	 * @param shops
	 * @return
	 */
	public String insertShops(Shops shops);
	
	/**
	 * 根据Id删除
	 * @param id
	 * @return
	 */
	public boolean deleteShopsById(Shops shops);
	

	/**
	 * 根据条件删除
	 * @param Shops
	 * @return
	 */
	public boolean deleteShopsByCondition(Shops shops);
	
	/**
	 * 根据Id修改
	 * @param id
	 * @return
	 */
	public boolean updateShopsById(Shops shops);
	
	/**
	 * 根据条件修改
	 * @param data
	 * @return
	 */
	public boolean updateShopsByCondition(Shops record,Shops parameter);
	
	/**
	 * 根据id查询
	 * @param id
	 * @return
	 */
	public Shops getShopsById(Shops shops);
	
	/**
	 * 查询所有
	 * @param Shops
	 * @return
	 */
	public List<Shops> getShopsAll(Shops shops);
	
	/**
	 * 分页查询查询总数
	 * @param Shops
	 * @return
	 */
	public int getShopsByPageCount(Shops shops);
  
}
